{include file='comdir/head.html'}
<!-- 导航栏 -->
{include file='comdir/navmenu.html'}

<!-- 内容列表 -->
<div class="179list">
<ul class="list-group infolist" style="margin-top: 56px;">
 {foreach from=$ifnoidlist item=vo}
  <li onclick="info_content({$vo.infoid})" data-seq="{$vo.seq}" class="list-group-item">{$vo.title}</li>
  {/foreach}
</ul>
</div>
<script type="text/javascript">
var _URL='{$_URL}';
{literal}
window.onscroll=function(){
     _load_more.start(nextmore());
}
var _load_more_status=true;
function nextmore(){
  var seq=$(".infolist li:last-child").attr('data-seq');//最后一个li标签
  var search=$('.search').val();
  var url=_URL+"Home/ajax_infolist";
  if(_load_more_status===false){
    return false;
  }
  _load_more_status=false;
  _ajaxs.post(url,'seq='+seq+"&search="+search,function(data){
    if(data.status){
      _load_more_status=true;
      $('.infolist').append(data.data);
    }else{
      return false;
    }
  })
}
{/literal}
</script>
{include file='comdir/foot.html'}